package com.lzm.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

public class Drug {
    private String drug_id;

    private String drug_url;

    private BigDecimal drug_inPrice;

    private BigDecimal drug_outPrice;

    private String drug_name;

    private String drug_type;

    private String drug_simDesc;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date drug_endDate;

    private String drug_detaDesc;

    private String drug_fatory;

    private String drug_direction;

    private String drug_remark;

    private Integer drug_number;

    private Integer drug_state;

    @Override
    public String toString() {
        return "Drug{" +
                "drug_id='" + drug_id + '\'' +
                ", drug_url='" + drug_url + '\'' +
                ", drug_inPrice=" + drug_inPrice +
                ", drug_outPrice=" + drug_outPrice +
                ", drug_name='" + drug_name + '\'' +
                ", drug_type='" + drug_type + '\'' +
                ", drug_simDesc='" + drug_simDesc + '\'' +
                ", drug_endDate=" + drug_endDate +
                ", drug_detaDesc='" + drug_detaDesc + '\'' +
                ", drug_fatory='" + drug_fatory + '\'' +
                ", drug_direction='" + drug_direction + '\'' +
                ", drug_remark='" + drug_remark + '\'' +
                ", drug_number=" + drug_number +
                ", drug_state=" + drug_state +
                '}';
    }

    public String getDrug_id() {
        return drug_id;
    }

    public void setDrug_id(String drug_id) {
        this.drug_id = drug_id;
    }

    public String getDrug_url() {
        return drug_url;
    }

    public void setDrug_url(String drug_url) {
        this.drug_url = drug_url;
    }

    public BigDecimal getDrug_inPrice() {
        return drug_inPrice;
    }

    public void setDrug_inPrice(BigDecimal drug_inPrice) {
        this.drug_inPrice = drug_inPrice;
    }

    public BigDecimal getDrug_outPrice() {
        return drug_outPrice;
    }

    public void setDrug_outPrice(BigDecimal drug_outPrice) {
        this.drug_outPrice = drug_outPrice;
    }

    public String getDrug_name() {
        return drug_name;
    }

    public void setDrug_name(String drug_name) {
        this.drug_name = drug_name;
    }

    public String getDrug_type() {
        return drug_type;
    }

    public void setDrug_type(String drug_type) {
        this.drug_type = drug_type;
    }

    public String getDrug_simDesc() {
        return drug_simDesc;
    }

    public void setDrug_simDesc(String drug_simDesc) {
        this.drug_simDesc = drug_simDesc;
    }

    public Date getDrug_endDate() {
        return drug_endDate;
    }

    public void setDrug_endDate(Date drug_endDate) {
        this.drug_endDate = drug_endDate;
    }

    public String getDrug_detaDesc() {
        return drug_detaDesc;
    }

    public void setDrug_detaDesc(String drug_detaDesc) {
        this.drug_detaDesc = drug_detaDesc;
    }

    public String getDrug_fatory() {
        return drug_fatory;
    }

    public void setDrug_fatory(String drug_fatory) {
        this.drug_fatory = drug_fatory;
    }

    public String getDrug_direction() {
        return drug_direction;
    }

    public void setDrug_direction(String drug_direction) {
        this.drug_direction = drug_direction;
    }

    public String getDrug_remark() {
        return drug_remark;
    }

    public void setDrug_remark(String drug_remark) {
        this.drug_remark = drug_remark;
    }

    public Integer getDrug_number() {
        return drug_number;
    }

    public void setDrug_number(Integer drug_number) {
        this.drug_number = drug_number;
    }

    public Integer getDrug_state() {
        return drug_state;
    }

    public void setDrug_state(Integer drug_state) {
        this.drug_state = drug_state;
    }
}